<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
 <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>欢迎注册学生管理系统</title>
</head>
<body>
<div  style="margin:0 auto;text-align:center;">
   <form   action="update.do"   method="post">  
    
          用户名：<input  type="text"    name="name"  value="${student.name}"></input>
          <br>  <br>
          密码：<input  type="text" name="password"   value="${student.password}"></input>
           <br>  <br>
    手机号码：<input  type="text"    name="telephone"  value="${student.telephone}"></input>
     <br>  <br>
       学号：<input  type="text"    name="sno"  value="${student.sno}"></input>
        <br>  <br>
    
   
      性别：
       <c:if test="${student.gender==0}">
         男：<input type="radio"  name="gender"  value="0"  checked="true"/> 
           女：<input type="radio"  name="gender"  value="1" />
       </c:if>
   
        <c:if test="${student.gender==1}">
         男：<input type="radio"  name="gender"  value="0"  /> 
           女：<input type="radio"  name="gender"  value="1" checked="true" />
       </c:if>
       <br>  <br>
       <input type="hidden"    name="sid"  value="${student.sid}"  />
      <input type="submit"  value="修改"   />
   </form>
 </div>
</body>
</html>